package com.bedrock.project.inside.entity;

import com.bedrock.framework.aspectj.lang.annotation.Excel;
import com.bedrock.framework.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import springfox.documentation.annotations.ApiIgnore;

import java.util.Date;

/**
 * 招聘对象 t_recruit
 *
 * @author bedrock
 * @date 2020-04-07
 */
@ApiModel("招聘信息")
public class RecruitEntity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    //@JsonIgnore
    /** $column.columnComment  */
    @ApiModelProperty(name="ID",value="Id")
    private Long id;

//    @ApiModelProperty(value="joberName",example = "张同学")
    /** 求职者姓名 */
    @Excel(name = "求职者姓名")
    @ApiModelProperty(name="求职者姓名",value="求职者姓名")
    private String joberName;


    /** 电话 */
    @Excel(name = "电话")
    @ApiModelProperty(name="电话",value="电话")
    private String jobberPhone;

    /** 技术岗位类型，参见字典表 */
    @Excel(name = "技术岗位类型，参见字典表")
    @ApiModelProperty(name="技术岗位类型，参见字典表",value="技术岗位类型，参见字典表")
    private Long technologyId;

    /** 状态 :1 未开始   2 进行中 3 已结束 */
    @Excel(name = "状态 :1 未开始   2 进行中 3 已结束")
    @ApiModelProperty(name="状态",value="状态 :1 未开始   2 进行中 3 已结束")
    private Long jobberStatic;

    /** 推荐人Id */
    @Excel(name = "推荐人Id")
    @ApiModelProperty(name="推荐人Id",value="推荐人Id")
    private Long recUserId;

    /** 推荐评语 */
    @Excel(name = "推荐评语")
    @ApiModelProperty(name="推荐评语",value="推荐评语")
    private String recRemark;

    /** 面试评价 */
    @Excel(name = "面试评价")
    @ApiModelProperty(name="面试评语",value="面试评语")
    private String jobRemark;

    /** 简历URL */
    @Excel(name = "简历URL")
    @ApiModelProperty(name="简历URL",value="简历URL")
    private String vitaeUrl;

    @ApiModelProperty(name="筛选评语",value="筛选评语")
    private String chooseRemark;

    /** 预约时间 */
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name="预约时间",value="格式：yyyy-MM-dd HH:mm:dd")
    private Date makeTime;

    /** 是否入职 1 入职  0 待入职 */
    @Excel(name = "是否入职 1 入职  0 待入职")
    @ApiModelProperty(name="是否入职",value="是否入职 1 入职  0 待入职")
    private Integer isEntry;

    @ApiModelProperty(name="流程表Id",value="流程表Id")
    private Long flowId;

    /** 是否HR　：yes / no */
    @ApiModelProperty(name="面试评语",value="面试评语",hidden = true)
    private String isHR;

    @ApiModelProperty(name="面试评语",value="面试评语",hidden = true)
    private Long doUserId;

    @ApiModelProperty(name="推荐人名称",value="推荐人名称",hidden = true)
    private String recUserName;

    @ApiModelProperty(name="面试人名称",value="面试人名称",hidden = true)
    private String viewUserName;

    @ApiModelProperty(name="面试人Id",value="面试人Id",hidden = true)
    private Long viewUserId;

    @ApiModelProperty(name="流程状态",value="流程状态",hidden = true)
    private Integer flowStatic;

    public Integer getFlowStatic() {
        return flowStatic;
    }

    public void setFlowStatic(Integer flowStatic) {
        this.flowStatic = flowStatic;
    }

    public Long getViewUserId() {
        return viewUserId;
    }

    public void setViewUserId(Long viewUserId) {
        this.viewUserId = viewUserId;
    }

    public String getRecUserName() {
        return recUserName;
    }

    public void setRecUserName(String recUserName) {
        this.recUserName = recUserName;
    }

    public String getViewUserName() {
        return viewUserName;
    }

    public void setViewUserName(String viewUserName) {
        this.viewUserName = viewUserName;
    }

    public String getChooseRemark() {
        return chooseRemark;
    }

    public void setChooseRemark(String chooseRemark) {
        this.chooseRemark = chooseRemark;
    }

    public Long getDoUserId() {
        return doUserId;
    }

    public void setDoUserId(Long doUserId) {
        this.doUserId = doUserId;
    }

    public String getIsHR() {
        return isHR;
    }

    public void setIsHR(String isHR) {
        this.isHR = isHR;
    }

    public Long getFlowId() {
        return flowId;
    }

    public void setFlowId(Long flowId) {
        this.flowId = flowId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setJoberName(String joberName)
    {
        this.joberName = joberName;
    }

    public String getJoberName()
    {
        return joberName;
    }
    public void setJobberPhone(String jobberPhone)
    {
        this.jobberPhone = jobberPhone;
    }

    public String getJobberPhone()
    {
        return jobberPhone;
    }
    public void setTechnologyId(Long technologyId)
    {
        this.technologyId = technologyId;
    }

    public Long getTechnologyId()
    {
        return technologyId;
    }
    public void setJobberStatic(Long jobberStatic)
    {
        this.jobberStatic = jobberStatic;
    }

    public Long getJobberStatic()
    {
        return jobberStatic;
    }
    public void setRecUserId(Long recUserId)
    {
        this.recUserId = recUserId;
    }

    public Long getRecUserId()
    {
        return recUserId;
    }
    public void setRecRemark(String recRemark)
    {
        this.recRemark = recRemark;
    }

    public String getRecRemark()
    {
        return recRemark;
    }
    public void setJobRemark(String jobRemark)
    {
        this.jobRemark = jobRemark;
    }

    public String getJobRemark()
    {
        return jobRemark;
    }
    public void setVitaeUrl(String vitaeUrl)
    {
        this.vitaeUrl = vitaeUrl;
    }

    public String getVitaeUrl()
    {
        return vitaeUrl;
    }
    public void setMakeTime(Date makeTime)
    {
        this.makeTime = makeTime;
    }

    public Date getMakeTime()
    {
        return makeTime;
    }
    public void setIsEntry(Integer isEntry)
    {
        this.isEntry = isEntry;
    }

    public Integer getIsEntry()
    {
        return isEntry;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("joberName", getJoberName())
                .append("jobberPhone", getJobberPhone())
                .append("technologyId", getTechnologyId())
                .append("jobberStatic", getJobberStatic())
                .append("recUserId", getRecUserId())
                .append("recRemark", getRecRemark())
                .append("jobRemark", getJobRemark())
                .append("vitaeUrl", getVitaeUrl())
                .append("makeTime", getMakeTime())
                .append("isEntry", getIsEntry())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
